<?php

/**
 * Settings 	View
 * @author 		TAMDV
 * @date		2008 08 06 (yyyy MM dd)
 * @package    	Joomus.JBS
 * @subpackage 	Components
 * @link 		http://localhost/jbschedule/administrator/index.php?option=com_jbschedule
 * @license		GNU/GPL
 */

// no direct access
//defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.view');

/**
 * Setings View
 *
 * @package    Joomus.JBS
 * @subpackage Components
 */
class JBSViewSettings extends JView {
	/**
	 * display method of Settings view
	 * @return void
	 **/
	function display($tpl = null) {
		$task = JRequest :: getVar('task');

		switch ($task) {
//			case 'edit' :
			default :
				//get the assetgroups
				$settings 	= & $this->get('FirstData');
				JToolBarHelper :: title(JText :: _('PROJECT NAME') . ' - ' . JText :: _('CONFIGURATION') . ': <small><small>[ ' . JText :: _('EDIT') . ' ]</small></small>', 'jbschedule');
				JToolBarHelper :: save();
				$this->assignRef('settings', $settings);
				break;
		}
		parent :: display($tpl);
	}
}